/**
 * jims
 */
package com.jims.master.modules.nurse.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import javax.validation.constraints.NotNull;

import com.jims.master.common.persistence.DataEntity;

/**
 * 主要护理项目Entity
 * @author CTQ
 * @version 2017-06-01
 */
public class NurseTempDetailInfo extends DataEntity<NurseTempDetailInfo> {
	
	private static final long serialVersionUID = 1L;
	private String patientId;		// 病人ID
	private String visitId;		// 住院ID
	private String tempInfoId;		// 护理主记录id
	private Integer timePoint;		// 测量时间点
	private Date inspecttionDate;		// 测量时间
	private Double temperature;		// 体温
	private Integer temperatureType;		// 体温类型 (1:口温;2:腋温;3:肛温;4:体温不升)
	private Integer tempinspectionType;		// 体温测量类型(1:正常，2：复试体温，3：补测体温)
	private Double reductionTemperature;		// 降温后的体温
	private Integer pulse;		// 脉搏
	private Integer breathe;		// 呼吸
	private Integer breatheType;		// 是否使用呼吸机
	private Integer heartRate;		// 心率
	private Integer rateInspectionType;		// 心率检测类型1:使用心脏搏起器2：补测心率

	private String comment1Type; //上注释说明 1:入院; 2：出院;3:转入;4:手术;5:转院;6:死亡;7:分娩
	private String comment2 ; //下注释
	private String comment2Type; //下注释说明  1:拒测; 2:外出; 3:请假
	private String comment1 ; //上注释
	
	public NurseTempDetailInfo() {
		super();
	}

	public NurseTempDetailInfo(String id){
		super(id);
	}

	@Length(min=0, max=64, message="病人ID长度必须介于 0 和 64 之间")
	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}
	
	@Length(min=0, max=64, message="住院ID长度必须介于 0 和 64 之间")
	public String getVisitId() {
		return visitId;
	}

	public void setVisitId(String visitId) {
		this.visitId = visitId;
	}
	
	@Length(min=0, max=64, message="护理主记录id长度必须介于 0 和 64 之间")
	public String getTempInfoId() {
		return tempInfoId;
	}

	public void setTempInfoId(String tempInfoId) {
		this.tempInfoId = tempInfoId;
	}
	
	public Integer getTimePoint() {
		return timePoint;
	}

	public void setTimePoint(Integer timePoint) {
		this.timePoint = timePoint;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@NotNull(message="测量时间不能为空")
	public Date getInspecttionDate() {
		return inspecttionDate;
	}

	public void setInspecttionDate(Date inspecttionDate) {
		this.inspecttionDate = inspecttionDate;
	}
	
	public Double getTemperature() {
		return temperature;
	}

	public void setTemperature(Double temperature) {
		this.temperature = temperature;
	}
	
	public Integer getTemperatureType() {
		return temperatureType;
	}

	public void setTemperatureType(Integer temperatureType) {
		this.temperatureType = temperatureType;
	}
	
	public Integer getTempinspectionType() {
		return tempinspectionType;
	}

	public void setTempinspectionType(Integer tempinspectionType) {
		this.tempinspectionType = tempinspectionType;
	}
	
	public Double getReductionTemperature() {
		return reductionTemperature;
	}

	public void setReductionTemperature(Double reductionTemperature) {
		this.reductionTemperature = reductionTemperature;
	}
	
	public Integer getPulse() {
		return pulse;
	}

	public void setPulse(Integer pulse) {
		this.pulse = pulse;
	}
	
	public Integer getBreathe() {
		return breathe;
	}

	public void setBreathe(Integer breathe) {
		this.breathe = breathe;
	}
	
	public Integer getBreatheType() {
		return breatheType;
	}

	public void setBreatheType(Integer breatheType) {
		this.breatheType = breatheType;
	}
	
	public Integer getHeartRate() {
		return heartRate;
	}

	public void setHeartRate(Integer heartRate) {
		this.heartRate = heartRate;
	}
	
	public Integer getRateInspectionType() {
		return rateInspectionType;
	}

	public void setRateInspectionType(Integer rateInspectionType) {
		this.rateInspectionType = rateInspectionType;
	}

	public String getComment1Type() {
		return comment1Type;
	}

	public void setComment1Type(String comment1Type) {
		this.comment1Type = comment1Type;
	}

	public String getComment2() {
		return comment2;
	}

	public void setComment2(String comment2) {
		this.comment2 = comment2;
	}

	public String getComment2Type() {
		return comment2Type;
	}

	public void setComment2Type(String comment2Type) {
		this.comment2Type = comment2Type;
	}

	public String getComment1() {
		return comment1;
	}

	public void setComment1(String comment1) {
		this.comment1 = comment1;
	}
}